﻿using Iworld.Main.Impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Iworld.basis.Service
{
    /// <summary>
    /// 管理员模块参数集基类
    /// </summary>
    [DataContract]
    public class CheckAdministratorImportBase : ImportBase
    {
        public Iworld.Administrator.Model.Administrator Self { set; get; }

        public override void CheckAllowExecuteOrNot(ModelToDbContext db)
        {
            Self = AdministratorLoginInfoPond.GetAdministratorInfo(db, this.Token);
        }
    }
}
